//
//  SQLiteDataBaseManager.h
//  18-SQLiteHomeWork
//
//  Created by 曹曹 on 16/8/8.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>

@class Student;
NS_ASSUME_NONNULL_BEGIN
@interface SQLiteDataBaseManager : NSObject {
    sqlite3 *dbPointer;
}
+ (SQLiteDataBaseManager *)sharedManager;
- (BOOL)openSQLite;
- (BOOL)closeSQLite;
- (BOOL)createTable;
- (BOOL)insertStu:(Student *)stu;
- (BOOL)deleteStu:(Student *)stu;
- (__kindof NSArray *)selectAll;
@end
NS_ASSUME_NONNULL_END
